package com.vhall.component.entity.interactive.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author guoxin.wang
 * @date 2021/5/10
 */
@Data
public class QuestionConsoleCreateReqVO implements Serializable {

    private static final long serialVersionUID = -3344090741751371885L;

    /**
     * 关联房间的活动 id
     */
    @NotBlank(message = "参数错误")
    @ParamName("room_id")
    private String roomId;

    /**
     * 问卷 id， 修改关联房间时要传，新增时可以不用传
     */
    @NotNull(message = "参数错误")
    @ParamName("q_id")
    private Integer questionId;

    /**
     * 标题
     */
    @NotBlank(message = "参数错误")
    @ParamName("title")
    private String title;

    /**
     * 描述
     */
    @ParamName("description")
    private String description;

    /**
     * 封面
     */
    @ParamName("img_url")
    private String imgUrl;


    private String extend;

    private String accountId;

    private String cover;

    private String appId;
}
